//
//  MyAddressCell.m
//  DianDangDai
//
//  Created by bhf on 2017/12/24.
//  Copyright © 2017年 bhf. All rights reserved.
//

#import "MyAddressCell.h"

@implementation MyAddressCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.bgView.layer.cornerRadius = 5;

    // Initialization code
}

- (void)setModel:(AddressModel *)model {
    _model = model;
    self.name.text = model.username;
    self.phoneNumber.text = model.mobile;
    self.address.text = [NSString stringWithFormat:@"%@%@%@",model.province,model.city,model.area];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
  
    // Configure the view for the selected state
}

@end
